package com.wang.web3.bean;

import java.util.List;

/**
 * Created by SAR on 2018/6/7.
 */

public class KeyListBean {

    /**
     * msg : 操作成功
     * code : 0
     * data : [{"id":1,"keyName":"节日宝箱钥匙","caddress":"0xef51ef5c8e219d6952c240c93428cb6c9fe145bd","price":0.01,"createTime":null,"pic":null},{"id":2,"keyName":"基础宝箱钥匙","caddress":"0x903fbfab14eff397eb163accf6eb346b351ba790","price":0.01,"createTime":null,"pic":null}]
     */

    private String msg;
    private String code;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * keyName : 节日宝箱钥匙
         * caddress : 0xef51ef5c8e219d6952c240c93428cb6c9fe145bd
         * price : 0.01
         * createTime : null
         * pic : null
         */

        private int id;
        private String keyName;
        private String caddress;
        private double price;
        private Object createTime;
        private Object pic;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getKeyName() {
            return keyName;
        }

        public void setKeyName(String keyName) {
            this.keyName = keyName;
        }

        public String getCaddress() {
            return caddress;
        }

        public void setCaddress(String caddress) {
            this.caddress = caddress;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public Object getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Object createTime) {
            this.createTime = createTime;
        }

        public Object getPic() {
            return pic;
        }

        public void setPic(Object pic) {
            this.pic = pic;
        }
    }
}
